﻿using AutoMapper;
using AutoMapper.QueryableExtensions;
using Common;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Linq.Expressions;

namespace DB.Mapper
{
    public static class MapperService
    {
        public static IServiceCollection AddMapper([NotNull] this IServiceCollection services)
        {
             
            services.AddAutoMapper(typeof(MapsProfile));

            return services;
        }
    }
}
